package com.addplus.townmall.server.api.model.town;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品属性值
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("shop_attributes_value")
public class ShopAttributesValue extends BaseRestModel implements Serializable {


    private static final long serialVersionUID = -4256276694126501824L;
    /**
     * 商品主键id
     */
    @TableField("shop_product_id")
    private Integer shopProductId;
    /**
     * 商品类型(1:普通 2:拼团)
     */
    private Integer type;
    /**
     * 参数数据(json格式)
     */
    @TableField("param_data")
    private String paramData;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
